From 569be9f11159092f8be56f8d76eb2edccd629a5c Mon Sep 17 00:00:00 2001 From: Carlos Soriano Date: Wed, 14 Oct 2015 21:47:39 +0200 Subject: [PATCH] gtkplacesview: remove dead code This is checked on add_volume inside the loop. https://bugzilla.gnome.org/show_bug.cgi?id=756589 --- gtk/gtkplacesview.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/gtk/gtkplacesview.c b/gtk/gtkplacesview.c index 00b306803b..1335b4d239 100644 --- a/gtk/gtkplacesview.c +++ b/gtk/gtkplacesview.c @@ -786,10 +786,6 @@ add_drive (GtkPlacesView *view, GList *volumes; GList *l; - /* Removable devices won't appear here */ - if (g_drive_can_eject (drive)) - return; - volumes = g_drive_get_volumes (drive); for (l = volumes; l != NULL; l = l->next) -- 2.30.2